﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConnectNodes.aspx.cs" Inherits="ConnectNodes" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 66%;
            height: 243px;
        }
        .style2
        {
            width: 170px;
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="height: 332px">
    
        <table class="style1">
            <tr>
                <td class="style2" colspan="2" align ="center" >
                    Out：<asp:Label ID="OutNodeLabel" runat="server"></asp:Label>
                    <br />
                    <asp:TextBox ID="OutNodeText" runat="server" BorderStyle="Solid" 
                        Width="158px" ReadOnly="True"></asp:TextBox>
                </td>
                <td class="style2" colspan="2" align ="center">
                    Relation:<asp:Label ID="RelationNodeLabel" 
                        runat="server"></asp:Label>
                    <br />
                    <asp:TextBox ID="RelationNodeText" runat="server" BorderStyle="Solid" 
                        Width="158px"></asp:TextBox>
                </td>
                <td  class="style2" colspan="2" align ="center" >
                 In:<asp:Label ID="InNodeLabel" runat="server"></asp:Label>
                    <br />
                    <asp:TextBox ID="InNodeText" runat="server" BorderStyle="Solid" 
                        Width="158px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align ="center" >
                    <asp:Button ID="ButtonResolveOut" runat="server" 
                        onclick="ButtonResolveOut_Click" Text="Resolve" />
            </td>
                <td align ="center">
                    <asp:Button ID="ButtonSelectOut" runat="server" onclick="ButtonSelectOut_Click" 
                        Text="Select" />
            </td>
                <td align ="center">
                    <asp:Button ID="ButtonResolveRelation" runat="server" Text="Resolve" 
                        onclick="ButtonResolveRelation_Click" />
            </td>
                <td align ="center">
                    <asp:Button ID="ButtonSelectRelation" runat="server" Text="Select" 
                        onclick="ButtonSelectRelation_Click" />
            </td>
                <td align ="center">
                    <asp:Button ID="ButtonResolveIn" runat="server" Text="Resolve" 
                        onclick="ButtonResolveIn_Click" />
            </td>
                <td align ="center">
                    <asp:Button ID="ButtonSelectSelectIn" runat="server" Text="Select" 
                        onclick="ButtonSelectSelectIn_Click" style="height: 21px" />
            </td>
            </tr>
            <tr>
                <td class="style2" rowspan="4" valign ="top" colspan="2" align ="center">
                    <asp:ListBox ID="OutNodeListBox" runat="server" Width ="70%"></asp:ListBox>
                    <asp:HiddenField ID="HiddenFieldOutId" runat="server" />
                </td>
                <td class="style2" colspan="2">
                    <asp:HiddenField ID="HiddenFieldRelationId" runat="server" />
                </td>
                <td rowspan="4" valign ="top" colspan="2"  align ="center" >
                    <asp:ListBox ID="InNodeListBox" runat="server" Width ="70%"></asp:ListBox>
                    <asp:HiddenField ID="HiddenFieldInId" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="2" align ="center" >
                    <asp:ListBox ID="RelationNodeListBox" runat="server" Width ="70%"></asp:ListBox>
                </td>
            </tr>
            <tr>
                <td class="style2" valign ="top" colspan="2" >
                    &nbsp;</td>
               
            </tr>           
           
            <tr>

                <td class="style2" valign ="top" colspan="2" >
                    <asp:Button ID="ButtonSure" runat="server" Text="确  定" 
                        onclick="ButtonSure_Click" Height="28px" />
                </td>
               
            </tr>           
           
        </table>
    
    </div>
    </form>
</body>
</html>
